package com.graduate.bssp.dao;

import com.graduate.base.entity.PageInfo;
import com.graduate.bssp.entity.Comic;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.graduate.bssp.entity.Comic;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
  * 动画表 Mapper 接口
 * </p>
 *
 * @author yongqiangyao
 * @since 2018-02-05
 */
@Repository("comicMapper")
public interface ComicMapper extends BaseMapper<Comic> {
    List<Comic> selectList();
    Integer selectCountList();
    List<Comic> selectComicList(PageInfo<Comic> pageInfo);
    boolean insertComic(Comic comic);
    Comic findById(int id);
    Integer updateFilm(Comic comic);
    Integer deleteComicById(Integer id);
    //Integer selectComicCountList();
    Integer selectComicCountList(PageInfo<Comic> pageInfo);
}